<template>
  <view class="wrap" >
    <view class="back">
      <image
      :src="$imgUrl('/lt_back.png')" 
        mode="scaleToFill"
      />
    </view>
    <view class="content">
      <scroll-view scroll-y>
        <view class="text-dashed">
          <view class="line"></view>
          <view class="view">若退出本页面将不保存历史记录</view>
        </view>
        <view class="list">
          <view class="list_left list_item">
            <image
              :src="$imgUrl('/lt_img1.png')"
              mode="scaleToFill"
            />
            <view class="list_item_information">
              <text>巴拉巴拉巴拉巴拉</text>
            </view>
          </view>
          <view class="list_right list_item">
           
            <view class="list_item_information">
              <text>不想上班</text>
            </view>
            <image
            :src="$imgUrl('/user.png')" 
              mode="scaleToFill"
            />
          </view>
        </view>
      </scroll-view>
     <view class="bottom">
        <view class="bottom_input">
          <u-input v-model="value" :type="type" border="false" />
        </view>
        <view class="bottom_button"><button>发送</button></view>
     </view>
    </view>
  </view>
</template>
<script >

export default {
	
		data() {
			return {

			};
		},
		methods:{

		},
		mounted() {
		
		}
	}
</script>


<style scoped lang="scss">

.wrap{
 width: 100%;
 height: 100vh;
 background-repeat: no-repeat;
 background-size: 100% 100%;
 overflow: hidden;
 display: flex;
 background-image: url($imgUrl + "/lt_bg.jpg") ;
 background-repeat: no-repeat;
 flex-direction: column;
 .back{
  width: 95%;
  margin: 0 auto;
  padding-top:calc(var(--status-bar-height) + 60rpx) ;
   height: 120rpx;
   image{
    width: 76rpx;
    height: 64rpx;
   }
 }
 .content{
  width: 95%;
  margin: 20rpx auto;
  .hine{
    height: 90rpx;
    color: #fff;
    font-size: 24rpx;
    &:focus {
    outline: 2px dotted blue;
  } 
  }
 }
}
.text-dashed {
  margin: 20rpx auto 40rpx;
  width: 80%;
  .line{
    border-top: 1rpx dashed #ffffff5c;
  }
  position: relative;
 
  .view{
    width: 70%;
    background: #1f1e1e;
    position: absolute;
    left: 15%;
    top: -14rpx;
    z-index: 1;
    color: #ffffff5c;
    font-size: 26rpx;
    text-align: center;
    
  }
}
.list{
  margin-top: 60rpx;
  display: flex;
 flex-direction: column;
  &_item{
    display: flex;
    margin-bottom: 60rpx;
    image{
      width: 80rpx;
      height: 80rpx;
    }
    &_information{
      position: relative;
      width: 460rpx;
      min-height: 46rpx;
      background-color: #1c4b3eb6;
      text{
        padding: 20rpx;
        color: #fff;
        font-size: 26rpx;
      }
    }
  }
  &_left{
    .list_item_information{
      margin-left: 40rpx;
      &:before{
        content: "";
        position: absolute;
        top: 28%;
        left: -20rpx;
        border-top: 20rpx solid transparent; /* 上边框透明 */
        border-right: 20rpx solid #1c4b3eb6; /* 右边框为三角形颜色 */
        border-bottom: 20rpx solid transparent; /* 下边框透明 */
      
      }
      
    }
  }
  &_right{
    justify-content: flex-end;
    .list_item_information{
      margin-right: 40rpx;
      &:before{
        content: "";
        position: absolute;
        top: 28%;
        right: -20rpx;
        border-top: 20rpx solid transparent; /* 上边框透明 */
        border-left: 20rpx solid #1c4b3eb6; /* 右边框为三角形颜色 */
        border-bottom: 20rpx solid transparent; /* 下边框透明 */
      
      }
      
    }
  }
}
.bottom{
  position: fixed;
  height: 150rpx;
  left: 5%;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 90%;
  &_input{
    border: 2rpx solid #179371;
    width: 80%;
    background: #1793724b;
    color: #fff;
    font-size: 26rpx;
    height: 80rpx;
    
  }
  &_button{
    width: 20%;
    button{
      background-color: #0ffdbb;
    color: #1d1d1d;
    font-size: 26rpx;
    border: none;
    border-radius: 0;
    border: 0;
    padding: 0;
    height: 83rpx;
    line-height: 83rpx;
    }
  }
}
:deep(.u-input__content__field-wrapper__field){
  color: #fff !important;
}
</style>